﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HYQuick
{
    public static class HYQuickSafeReflection
    {
        public static void Set(String api,object value,object targetObj)
        {
            try
            {
                HYQuickReflection.Set(api, value, targetObj);
            }
            catch
            {

            }
        }

        public static object Invoke(String api,object targetObj)
        {
            try
            {
                return HYQuickReflection.Invoke(api, targetObj);
            }
            catch
            {
                return null;
            }
        }

    }
}
